Skip to content

docs(config): teach PR workflow to attach visual evidence - #1737

Merged
FelixTJDietrich merged 1 commit into
mainfrom
gh-cli-media-issues-pr-integration
Sep 2, 2026
Merged

docs(config): teach PR workflow to attach visual evidence#1737
FelixTJDietrich merged 1 commit into
mainfrom
gh-cli-media-issues-pr-integration

Conversation

@FelixTJDietrich

@FelixTJDietrich FelixTJDietrich commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

What changed and why

Pull requests that change the UI need durable visual evidence, but the contribution workflow did not explain how to publish local images or videos without committing them. This update integrates GitHub CLI's native --attach support into /land-pr, keeps PR-only files in the ignored tmp/ directory, and separates PR creation from upload so the same path works for new and existing pull requests.

The root guide now states only the evidence policy and leaves mechanics to /land-pr. The pull request template is also shorter and asks directly for the problem, verification, release impact, reviewer context, and visual evidence without duplicating commands already enforced elsewhere.

How to test

  1. Run pnpm run format && pnpm run check.
  2. Run pnpm run check:instructions and confirm both /land-pr copies remain identical.
  3. Run mkdir -p tmp && git check-ignore -v tmp/proof.png and confirm Git ignores PR-only evidence.
  4. Run gh pr edit --help | grep -q -- --attach and confirm the installed CLI supports the documented upload command.

The local quality gate and pre-push quality gate pass. No attachment was uploaded to this documentation-only PR because it has no UI change or meaningful visual evidence.

Release impact

No changeset is needed: this changes contributor documentation and tooling only, not shipped product behavior. Operators do not need to take action.

Notes for reviewers

The key design choice is to create or locate the pull request first, then upload evidence with gh pr edit. This avoids skipping uploads on an existing PR and prevents an upload failure from being mistaken for a failed PR creation.

Authored by OpenAI Codex in Jean.

github-actions[bot]
github-actions Bot previously approved these changes Sep 2, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved automatically: @FelixTJDietrich is listed in the REVIEW_POLICY_MAINTAINERS repository variable, which the repository treats as satisfying the review requirement. See the review policy in docs/contributor/ci-cd.mdx.

@github-actions github-actions Bot added the ci GitHub Actions, workflows, build pipeline changes label Sep 2, 2026
@github-project-automation github-project-automation Bot moved this from Backlog to In Review in Hephaestus Sep 2, 2026
@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 28 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 381d9b41-c91f-4932-b4b7-f08e8fefe956

📥 Commits

Reviewing files that changed from the base of the PR and between e26e8ca and 4ead1f4.

📒 Files selected for processing (4)
  • .agents/skills/land-pr/SKILL.md
  • .claude/skills/land-pr/SKILL.md
  • .github/PULL_REQUEST_TEMPLATE.md
  • AGENTS.md

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added size:M documentation Improvements or additions to documentation labels Sep 2, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved automatically: @FelixTJDietrich is listed in the REVIEW_POLICY_MAINTAINERS repository variable, which the repository treats as satisfying the review requirement. See the review policy in docs/contributor/ci-cd.mdx.

@github-actions github-actions Bot added size:L and removed size:M labels Sep 2, 2026
@FelixTJDietrich
FelixTJDietrich added this pull request to the merge queue Sep 2, 2026
Merged via the queue into main with commit 050f391 Sep 2, 2026
36 of 37 checks passed
@FelixTJDietrich
FelixTJDietrich deleted the gh-cli-media-issues-pr-integration branch September 2, 2026 11:48
@github-project-automation github-project-automation Bot moved this from In Review to Done in Hephaestus Sep 2, 2026
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

📚 Documentation Preview

Preview has been removed (PR closed)

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

🧩 Storybook Preview

Preview has been removed (PR closed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci GitHub Actions, workflows, build pipeline changes documentation Improvements or additions to documentation

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant